package org.dromara.bean.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.util.Date;

/**
 * 购物车对象 his_goods_car
 *
 * @author Lion Li
 * @date 2024-12-25
 */
@Data
@TableName("his_goods_car")
public class HisGoodsCar  {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 所属会员
     */
    private Long memberId;

    /**
     * 商品id
     */
    private Long goodsId;


    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 数量
     */
    private Long count;
}
